package com.coder4j.platform.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import java.util.Date;
import lombok.Data;

/**
 * 用户操作日志 Excel导出对象
 * @author keller
 * @date 2024-05-07 18:24:22
 */
@Data
public class OperationLogEO{

    @ExcelProperty(value = "ID")
    @ColumnWidth(25)
    private Long id;

    @ExcelProperty(value = "操作类型")
    @ColumnWidth(25)
    private String type;

    @ExcelProperty(value = "操作名称")
    @ColumnWidth(25)
    private String name;

    @ExcelProperty(value = "状态 success,failed")
    @ColumnWidth(25)
    private String status;

    @ExcelProperty(value = "IP地址")
    @ColumnWidth(25)
    private String ip;

    @ExcelProperty(value = "IP归属地")
    @ColumnWidth(25)
    private String address;

    @ExcelProperty(value = "浏览器")
    @ColumnWidth(25)
    private String browser;

    @ExcelProperty(value = "操作系统")
    @ColumnWidth(25)
    private String os;

    @ExcelProperty(value = "请求方法 GET/POST/DELETE/UPDATE")
    @ColumnWidth(25)
    private String requestMethod;

    @ExcelProperty(value = "请求URL")
    @ColumnWidth(25)
    private String requestUrl;

    @ExcelProperty(value = "请求参数")
    @ColumnWidth(25)
    private String requestParam;

    @ExcelProperty(value = "请求体")
    @ColumnWidth(25)
    private String requestBody;

    @ExcelProperty(value = "应答参数")
    @ColumnWidth(25)
    private String responseParam;

    @ExcelProperty(value = "创建时间")
    @ColumnWidth(25)
    private Date createTime;

    @ExcelProperty(value = "创建人ID")
    @ColumnWidth(25)
    private Long createId;

    @ExcelProperty(value = "创建人名称")
    @ColumnWidth(25)
    private String createName;

    @ExcelProperty(value = "修改时间")
    @ColumnWidth(25)
    private Date updateTime;

    @ExcelProperty(value = "修改人ID")
    @ColumnWidth(25)
    private Long updateId;

    @ExcelProperty(value = "修改人名称")
    @ColumnWidth(25)
    private String updateName;


}
